package xin.nick.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import xin.nick.fallback.LandOrderApiFallBack;

@FeignClient(value = "land-order-service", contextId="LandOrderApi", fallbackFactory = LandOrderApiFallBack.class)
public interface LandOrderApi {

    @GetMapping("/order/getOrderInfo")
    String getOrderInfo();

}
